@extends('layouts.master3')
@section('content')
<?php
if(isset($solve['level']))
echo $arr[$solve['level']];
else
echo $arr[$solve['score']];
?>
<br>

<br>
<?php
if(isset($solve['level']))
echo '<a href="/train/automodu">回到当前关卡</a>';
?>
<br>
跳转到之前的关卡:
<form action="/train/automodu">
<div class="form-group">
    <label for="level">关卡level:</label>
    <input name="level" type="text" id="level">
</div>
<div class="form-group">
    <input class="btn primary" type="submit" value="提交">
</div>
</form>
<?php
if(!isset($solve['level']))
{
?>
请填写你的解决方案:
<form action="/train/moducheck">
<div class="form-group">
    <label for="solution">solution:</label>
    <input name="solution" type="text" id="solution" style="width:300px">
</div>
<div class="form-group">
    <input class="btn primary" type="submit" value="提交">
</div>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</form>
<?php
}
?>
@endsection
